<?
/**
 * <b>PromotedItemType Class</b>
 * Published 04/11/2010 18:56:45
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('PromotionDetailsType.php');
require_once('PromotionItemSelectionCodeType.php');
require_once('ListingTypeCodeType.php');
require_once('ItemIDType.php');

class PromotedItemType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var ItemIDType $ItemID
	public $ItemID;
	// @var ListingTypeCodeType $ListingType
	public $ListingType;
	// @var string $PictureURL
	public $PictureURL;
	// @var int $Position
	public $Position;
	// @var PromotionDetailsType $PromotionDetails
	public $PromotionDetails;
	// @var PromotionItemSelectionCodeType $SelectionType
	public $SelectionType;
	// @var duration $TimeLeft
	public $TimeLeft;
	// @var string $Title
	public $Title;
 /** End Properties **/

/**
 *
 * @return ItemIDType
 */
	function getItemID(){
		return $this->ItemID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setItemID($value){
		$this->ItemID = $value;
	}


/**
 *
 * @return ListingTypeCodeType
 */
	function getListingType(){
		return $this->ListingType;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setListingType($value){
		$this->ListingType = $value;
	}


/**
 *
 * @return string
 */
	function getPictureURL(){
		return $this->PictureURL;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPictureURL($value){
		$this->PictureURL = $value;
	}


/**
 *
 * @return int
 */
	function getPosition(){
		return $this->Position;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPosition($value){
		$this->Position = $value;
	}


/**
 *
 * @return PromotionDetailsType
 */
	function getPromotionDetails(){
		return $this->PromotionDetails;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPromotionDetails($value){
		$this->PromotionDetails = $value;
	}


/**
 *
 * @return PromotionItemSelectionCodeType
 */
	function getSelectionType(){
		return $this->SelectionType;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setSelectionType($value){
		$this->SelectionType = $value;
	}


/**
 *
 * @return duration
 */
	function getTimeLeft(){
		return $this->TimeLeft;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setTimeLeft($value){
		$this->TimeLeft = $value;
	}


/**
 *
 * @return string
 */
	function getTitle(){
		return $this->Title;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setTitle($value){
		$this->Title = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("PromotedItemType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"ItemID"=>
					array(
						"required"=>false,
						"type"=>"ItemIDType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ListingType"=>
					array(
						"required"=>false,
						"type"=>"ListingTypeCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PictureURL"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Position"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PromotionDetails"=>
					array(
						"required"=>false,
						"type"=>"PromotionDetailsType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..*"
					),
				"SelectionType"=>
					array(
						"required"=>false,
						"type"=>"PromotionItemSelectionCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"TimeLeft"=>
					array(
						"required"=>false,
						"type"=>"duration",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Title"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
